<%@ page import="com.neutech.shop.entity.Admin" %><%--
  Created by IntelliJ IDEA.
  User: Somnus远哥
  Date: 2021/9/18
  Time: 9:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    // http://localhost:8080/cq_shop
    /*Admin admin = (Admin)session.getAttribute("admin");
    if(admin == null){
        response.sendRedirect("login.jsp");
        return;
    }*/
    String path = request.getContextPath();

%>
<div id="in-nav">
    <div class="container">
        <div class="row">
            <div class="span12">
                <ul class="pull-right">
                    <li><a href="#">链接1</a></li>
                    <li><a href="#">链接2</a></li>
                    <li><a href="<%=path%>/back/admin/logout">注销</a></li>
                    <li><a href="login.html">登录</a></li>
                    <li><a href="<%=path%>/pre/index">前台首页</a></li>
                </ul>
                <a id="logo" href="<%=path%>/back/index.jsp">
                    <h4>
                        电商平台后台<strong>管理</strong>
                    </h4>
                </a>
            </div>
        </div>
    </div>
</div>
<div id="in-sub-nav">
    <div class="container">
        <div class="row">
            <div class="span12">
                <ul>
                    <li><a href="<%=path%>/back/index.jsp" class="active"><i
                            class="batch home"></i><br/>主页</a></li>
                    <li><span class="label label-important pull-right">08</span><a
                            href="<%=path%>/back/admin/list"><i class="batch stream"></i><br/>管理员列表</a></li>
                    <li><a href="<%=path%>/back/user/list"><i class="batch users"></i><br/>用户列表</a></li>
                    <li><a href="<%=path%>/back/category/category_list.jsp"><i class="batch forms"></i><br/>类别列表</a></li>
                    <li><a href="<%=path%>/back/product/list"><i class="batch quill"></i><br/>商品列表</a></li>
                    <li><span class="label label-important pull-right">04</span><a
                            href="orders.html"><i class="batch plane"></i><br/>订单列表</a></li>
                    <li><a href="anothers.html"><i class="batch calendar"></i><br/>其它扩展功能</a></li>
                    <li><a href="settings.html"><i class="batch settings"></i><br/>系统设置</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
